body, button, input, legend{
    margin: 0;
    padding: 0;
    font: 16px "微软雅黑";
}
select{
    font: 14px "微软雅黑";
}

.m-form {
    width: 325px;
    border: 1px solid #ddd;
    background-color: #fff;
    margin: 100px auto;
    border-radius: 2px;
    display: none;
}

.m-form legend {
    width: 100%;
    line-height: 30px;
    text-indent: 1em;
    color: #fff;
    background-color: #888;
    border-radius: 2px 2px 0 0;
}

.m-form fieldset {
    border: none;
    padding: 20px;
}

.m-form div {
    margin: 20px;
}

.m-form .register-text{
    font-size: 15px;
    color: #666666;
    margin: 0 0 0 200px;
    text-decoration: underline;
}

.m-form .register-text a{
    color: #666666;
}

.m-form .register-text a:hover{
    color: #009ee6;
}

.m-form button {
    width: 100%;
    height: 30px;
    color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    background-color: #2d7dca;
    border-radius: 5px;
}

.m-form .msg {
    margin: 8px;
    text-align: center;
    display: none;
}

.m-form .u-txt {
    width: 160px;
    padding: 3px;
    border: 1px solid #aaa;
}

.m-form .j-err {
    display: block;
    color: #FF0000;
}

.m-form .j-suc {
    display: block;
    color: #158226;
}

.m-form .j-error {
    border-color: #f00;
    background-color: #FFE7E7;
}

.m-form .j-disabled {
    cursor: default;
    background-color: #ddd;
}
